package com.it.service;

import com.it.domain.Singer;
import com.it.domain.Song;

import java.util.List;

public interface SongService {

    public Object AddSong(Song song);

    public boolean UpdateSong(Song song);

    public boolean DeleteSong(Integer id);

    public Song SelectBySongId(Integer id);//歌曲id查询

    public List<Song> SelectBySingerId(Integer singerId);//歌手id查询

    public List<Song> SelectByName(String name);

    public List<Song> SelectAll(Integer PageNum, Integer PageSize,Integer singerId,String name);

    public Integer SelectTotal();

    public Integer SelectSingerSongTotal(Integer singerId);

    public List<Song> GetAllSong();

    public Integer UpdateType(Integer id,Integer isDelete);

    public Integer getSongsTotal(Integer singerId);

    public Integer getAlbumTotal(Integer singerId);

    public List<Song> getSongInfo(Integer singerId);
}
